package cn.lml.lession.user.service;

import java.util.List;
import java.util.Map;

import cn.lml.lession.user.model.User;

public interface UserService {

	Integer insertUser (User user);

	Integer deleteByUid (Integer uid);

	Integer updateByUid (User user);

	User selectByUid (Integer uid);

	List<User> queryUser(Map<String,Object> cond);

	Integer countUser(Map<String, Object> cond);

	User findByUsername(String username);
}